package com.tianyang.yukuaifu.module.luban;

/**
 * Description：A functional interface (callback) that returns true or false for the given input path should be compressed.
 * Created by 薛勇军 on 2018/7/11.
 */

public interface CompressionPredicate {

    /**
     * Determine the given input path should be compressed and return a boolean.
     * @param path input path
     * @return the boolean result
     */
    boolean apply(String path);
}
